package com.zbkj.service.sfexpress.response;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.StringUtils;

@Data
@NoArgsConstructor
public class SFResult<T> {

    private String apiErrorMsg;

    private String apiResponseID;

    private String apiResultCode;

    private T apiResultData;

    public boolean getSuccess() {
        return StringUtils.equals("A1000", apiResultCode);
    }

}
